package ru.stepuk.modern.events;

import ru.stepuk.modern.Timeline;

/**
 *
 * @author ivan
 */
public class StopSimulation implements Event {

    private Timeline target;

    public StopSimulation(Timeline target) {
        this.target = target;
    }

    public void process() {
        target.stop();
    }
}
